//package com.hui.feign;
//
//import com.yjcmp.exchange.constants.ServiceConstant;
//import com.yjcmp.exchange.dto.CreateBlockStorageDTO;
//import com.yjcmp.exchange.feign.fallback.VirtualMachineFeignFallbackFactory;
//import org.springframework.cloud.openfeign.FeignClient;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestParam;
//
//import java.util.List;
//
//@FeignClient(name = ServiceConstant.YJ_API_SERVER, contextId = "BlockStorageFeign", fallbackFactory = VirtualMachineFeignFallbackFactory.class)
//public interface UserFeignClient {
//
//    @GetMapping("/api/storages/getPage")
//    List<CreateBlockStorageDTO> syncResource(@RequestParam int current, @RequestParam int size);
//
//    @GetMapping("/api/storages/count")
//    Integer count();
//
//}
